<?php
class Parser_Html_Soundcloud extends Parser_Html {
    
    
    public function type()
    {
        return $this->content() ? 'audio' : parent::type();
    }
    
    
    public function content()
    {
        $content = parent::content();
        if ($content)
        {
            $content = str_replace('auto_play=true', 'auto_play=false', $content);
        }
        return $content;
    }
    
}